﻿using HamcoWcs.Models.Common;
using System.Collections.Generic;

namespace HamcoWcs.Models.ForeEndModels.MenuInfos
{
    public class MenuInfoDto
    {
        public long Id { get; set; }
        public long ParentId { get; set; }
        public int MenuSort { get; set; }
        public string MenuName { get; set; }
        public string MenuUrl { get; set; }
        public string MenuIcon { get; set; }
        public int MenuType { get; set; }
        public bool Enabled { get; set; }
        public List<MenuInfoDto> Child { get; set; } = new List<MenuInfoDto>();
    }

    public class QueryMenuInfo : PageSize
    {
        public string MenuName { get; set; }
    }

    public class MenuInfoResult : PageResult<MenuInfoDto>
    {
        public MenuInfoResult(int count, int pageCount, List<MenuInfoDto> datas) : base(count, pageCount, datas)
        {
        }
    }

}
